package com.wfcm.service;

import com.wfcm.entity.WfPhoneCodeEntity;

import java.util.List;
import java.util.Map;

/**
 * 手机验证码
 * 
 * @author xlf
 * @email xlfbe696@gmail.com
 * @date 2018-01-31 11:39:54
 */
public interface WfPhoneCodeService {
	
	WfPhoneCodeEntity queryObject(Integer id);
	//验证验证码
	WfPhoneCodeEntity queryPhoneCode(Map<String, String> map);
	
	List<WfPhoneCodeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(WfPhoneCodeEntity wfPhoneCode);
	
	void update(WfPhoneCodeEntity wfPhoneCode);
	
	void delete(Integer id);
	
	void deleteByPhone(String phone);
	
	void deleteBatch(Integer[] ids);
}
